package com.sh.礼让和插入;

/**
 * @Auther: sh
 * @Version 1.0
 * @Description:
 */
public class Test {
    public static void main(String[] args) throws InterruptedException {

        MyThread t1 = new MyThread();
        t1.setName("飞机");
        t1.start();
        t1.join();

        for (int i = 0; i < 100; i++) {
            System.out.println("主线程" + i);
        }

    }
}

